<?php
// +----------------------------------------------------------------------
// | [ WE ONLY DO WHAT IS NECESSARY ]
// +----------------------------------------------------------------------
// | Author < 931274989@qq.com >
// +----------------------------------------------------------------------
// | Explain 订单管理
// +----------------------------------------------------------------------
namespace app\admin\controller;

use app\model\Order as orderModel;
use think\Controller;
use think\Db;

class Order extends Controller
{
  // 会员充值
  public function user()
  {
    $model = new orderModel();
    $order = $model::with('user')->where('sid','neq',0)->order('create_time desc')->paginate(20);
    $this->assign('order',$order);
    return view();
  }
  
}
?>